-- 队伍管理模块
-- Author: Colocasia
-- Date: 2019-10-17

local teams = {};

local M = {};

function M:insert(team)
    if not teams[team.guid] then
        teams[team.guid] = team;
    end
end

function M:remove(team)
    teams[team.guid] = nil;
end

function M:get_team(guid)
    return teams[guid];
end

return M;